Skip to main content

TruncOperator

Type​

operator

Summary​

Truncation operator.

Syntax​

the trunc of <Operand>

Description​

The trunc of Operand is the integer part of the decimal representation of Operand.

Parameters​

NameTypeDescription

Operand

An expression that evaluates to a number.

Examples​

variable tVar as Number
put the trunc of 3.9 into tVar -- tVar contains 3

Value​

NameTypeDescription

return

Operand truncated.

Thank you for your feedback!

Was this page helpful?